Qt 4.8
Public Types | Static Public Functions | List of all members
QConcatenable< char[N]> Struct Template Reference

#include <qstringbuilder.h>

Inheritance diagram for QConcatenable< char[N]>:
QAbstractConcatenable

Public Types

enum  { ExactSize = false }
 
typedef QByteArray ConvertTo
 
typedef char type[N]
 

Static Public Functions

static void QT_ASCII_CAST_WARN appendTo (const char a[N], QChar *&out)
 
static void appendTo (const char a[N], char *&out)
 
static int size (const char[N])
 

Additional Inherited Members

- Static Private Functions inherited from QAbstractConcatenable
static void convertFromAscii (const char *a, int len, QChar *&out)
 
static void convertFromAscii (char a, QChar *&out)
 
static void convertToAscii (const QChar *a, int len, char *&out)
 
static void convertToAscii (QChar a, char *&out)
 
static void convertToLatin1 (QChar a, char *&out)
 

Detailed Description

template<int N>
struct QConcatenable< char[N]>

Definition at line 305 of file qstringbuilder.h.

Typedefs

◆ ConvertTo

template<int N>
typedef QByteArray QConcatenable< char[N]>::ConvertTo

Definition at line 308 of file qstringbuilder.h.

◆ type

template<int N>
typedef char QConcatenable< char[N]>::type[N]

Definition at line 307 of file qstringbuilder.h.

Enumerations

◆ anonymous enum

template<int N>
anonymous enum
Enumerator
ExactSize 

Definition at line 309 of file qstringbuilder.h.

Functions

◆ appendTo() [1/2]

template<int N>
static void QT_ASCII_CAST_WARN QConcatenable< char[N]>::appendTo ( const char  a[N],
QChar *&  out 
)
inlinestatic

Definition at line 312 of file qstringbuilder.h.

313  {
315  }
long ASN1_INTEGER_get ASN1_INTEGER * a
static void convertFromAscii(const char *a, int len, QChar *&out)

◆ appendTo() [2/2]

template<int N>
static void QConcatenable< char[N]>::appendTo ( const char  a[N],
char *&  out 
)
inlinestatic

Definition at line 317 of file qstringbuilder.h.

318  {
319  while (*a)
320  *out++ = *a++;
321  }
long ASN1_INTEGER_get ASN1_INTEGER * a

◆ size()

template<int N>
static int QConcatenable< char[N]>::size ( const char  [N])
inlinestatic

Definition at line 310 of file qstringbuilder.h.

310 { return N - 1; }

The documentation for this struct was generated from the following file: